package com.moli.iov.down.enums;

/**
 * <p>
 *  发送命令工厂枚举
 * </p>
 *
 * @author: zql
 * @Date: 2019/1/16 11:43
 */
public enum SendFactoryEnum {

    /**
     * kafa发送命令对象标志
     */
    KAFKA("kafka", "kafa发送命令对象标志"),

    /**
     * ActiveMQ发送命令对象标志
     */
    ACTIVEMQ("activeMQ", "ActiveMQ发送命令对象标志"),

    /**
     * cache发送命令对象标志
     */
    CACHE("cache", "cache发送命令对象标志");

    private String flag;

    private String msg;

    SendFactoryEnum(String flag, String msg){
        this.flag = flag;
        this.msg = msg;
    }

    public String getFlag() {
        return flag;
    }

    public String getMsg() {
        return msg;
    }
}
